<nz-card
  [nzCover]="coverTpl"
  [nzActions]="[actionSetting, actionEdit]"
  style="width: 300px"
>
  <nz-card-meta
    [nzAvatar]="avatarTpl"
    nzTitle="Card title"
    nzDescription="This is the description"
  ></nz-card-meta>
</nz-card>

<ng-template #coverTpl>
  <img
    src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"
  />
</ng-template>

<ng-template #avatarTpl>
  <nz-avatar
    nzSrc="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"
  ></nz-avatar>
</ng-template>

<ng-template #actionSetting>
  <span nz-icon nzType="setting"></span>
</ng-template>

<ng-template #actionEdit>
  <span nz-icon nzType="edit"></span>
</ng-template>
